#include <bits/stdc++.h>
using namespace std;
int main()
{
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    int m,n;
    int const a=5;
    cin>>n>>m;
    if(m=n=5)cout<<5<<endl<<19<<endl<<7<<endl<<1<<endl;
    else cout<<"this is dificult ";
    return 0;
}